package com.itheima.reggie.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.pojo.Employee;
import org.apache.ibatis.annotations.Select;

public interface LoginDao extends BaseMapper<Employee> {
    @Select("select * from employee where username=#{username}")
    Employee findByName(Employee employee);
}
